#!/bin/sh

if [ -n "`%OPTWARE_TARGET_PREFIX%/bin/pidof knockd`" ]; then 
    %OPTWARE_TARGET_PREFIX%/bin/killall knockd 2>/dev/null
fi

umask 077

%OPTWARE_TARGET_PREFIX%/bin/knockd -d -i ixp0 -v
